#pragma once
namespace yh {
	template<class T, class Container = deque<T>>
	class queue {
	public:
		void push(const T& val) {
			this->_con.push_back(val);
		}
		void pop() {
			this->_con.pop_front();
		}
		const T& top() {
			return this->_con.front();
		}
		bool empty() {
			return this->_con.empty();
		}
		size_t size() {
			return this->_con.size();
		}
	private:
		Container _con;
	};
}
